import java.util.Scanner;

/**
 * @author caesar
 * @date 2025/7/1
 * @apiNote
 */
/*
用一个数组存储本组学员的姓名，先从键盘输入小组人数，再从键盘输入每一个学员的姓名，然后遍历显示
*/
public class homework1_3 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入小组人数 ");
        int count = input.nextInt();

        String[] name = new String[count];
        for (int i = 0; i < count; i++) {
            System.out.print("请输入小组成员姓名 ");
            name[i] = input.next();
        }
        for (int i = 0; i < count; i++) {
            System.out.println("第 " + (i + 1) + " 位成员是 " + name[i]);
        }
        input.close();
    }
}
